import 'package:flutter/material.dart';

class OrgSquareViewHeadingWidget extends StatelessWidget {
  const OrgSquareViewHeadingWidget({super.key});

  @override
  Widget build(BuildContext context) {
    return Stack(
      children: [
        SizedBox(
          width: MediaQuery.of(context).size.width,
          height: MediaQuery.of(context).size.height,
          child: Container(
            color: Colors.transparent,
          ),
        ),
        Column(
          children: [
            Container(
              color: Color(0xffF5F8FE),
              height: 12,
              width: double.infinity,
            ),
            Container(
              color: Colors.white,
              padding: EdgeInsets.fromLTRB(16, 12, 16, 12),
              child: Text(
                '珠海羽毛球协会珠海羽毛球协会珠海羽毛球协会珠海羽毛球协会分部',
                maxLines: null,
              ),
            ),
            Container(
              color: Color(0xffF5F8FE),
              constraints: const BoxConstraints(minHeight: 68),
              child: Column(
                mainAxisSize: MainAxisSize.min,
                children: [
                  Container(
                    padding: const EdgeInsets.only(
                        left: 16, right: 16, top: 8, bottom: 16),
                    color: Color(0xffF5F8FE),
                    width: double.infinity,
                    alignment: Alignment.topLeft,
                    child: Text(
                      statusText(),
                      style: TextStyle(
                        fontSize: 14,
                        color: Color(0xFF828DA5),
                      ),
                    ),
                  ),
                ],
              ),
            ),
          ],
        ),
      ],
    );
  }

  String statusText() {
    return '广场号名称后台审核中不能修改';
  }
}
